package com.itcam.lease.web.app.mapper;

import com.itcam.lease.model.entity.PaymentType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PaymentTypeMapper extends BaseMapper<PaymentType> {

    /**
     * 根据房间id查询支付方式
     * @param id
     * @return
     */
    List<PaymentType> selectListByRoomId(Long id);

    PaymentType selectPaymentTypeById(Long paymentTypeId);

}




